package org.dromara.community.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.dromara.community.entity.AsUserActivity;
import org.dromara.community.entity.dto.AsUserActivityDTO;
import org.dromara.community.mapper.AsUserActivityMapper;
import org.dromara.community.service.AsUserActivityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AsUserActivityServiceimpl extends ServiceImpl<AsUserActivityMapper, AsUserActivity> implements AsUserActivityService {

    @Autowired
    private AsUserActivityMapper asUserActivityMapper;

    @Override
    public List<AsUserActivityDTO> selectAsUserActivityAll(AsUserActivityDTO asUserActivityDTO) {
        List<AsUserActivityDTO> dtoList = asUserActivityMapper.selectAsUserActivityAll(asUserActivityDTO);
        return dtoList;
    }
}
